<template>
  <div>
    <h3>{{info.title}}</h3>

    <hr />
    <div class="content">
        <img :src="info.img1">
        <img :src="info.img2">
        <img :src="info.img3">
        <img :src="info.img4">
    </div>
  </div>
</template>

<script>
import Mock from "@/mock";
export default {
  data() {
    return {
      info: {}
    };
  },
  mounted() {
    this.getGoodsDesc();
  },
  methods: {
    getGoodsDesc() {
      this.$axios.get("/api/goods/getdesc").then(result => {
        if (result.status === 200) {
          this.info = result.data;
        }
      });
    }
  }
};
</script>

<style lang="scss" scoped>
.content{
    img{
        width: 100%;
    }
}
</style>
